bgo#639531 - [filechooser] Handle the case where the user types a nonexistent_subfold...
authorFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jan 2011 18:37:35 +0000 (12:37 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jan 2011 23:08:10 +0000 (17:08 -0600)
commita4a2d7618250407fa78cb5cd3184b7d20a11a7e8
tree02a37e81790e3d762accb945a068dc868761799c
parent84bf984f8501201e082b888bc5479b5b8770c02b
bgo#639531 - [filechooser] Handle the case where the user types a nonexistent_subfolder/file.txt

The logic was to try to switch to that nonexistent folder and thus get
an error message presented.  However, no such message actually appears,
as the file chooser tries to switch to the closest parent folder that
actually exists, without bringing up an error message --- this is done
to cope with the case of the file chooser being started with a folder
that doesn't exist anymore.

Now, we just bring up an error message directly when we detect that
the user types a subfolder name that doesn't exist.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c